﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
/// <summary>
/// db 的摘要说明
/// </summary>
public class db
{
    public db()
    {
        //
        // TODO: 在此处添加构造函数逻辑
        //
    }
    public static SqlConnection CreateConnection()
    {
        SqlConnection con = new SqlConnection("Data Source=DESKTOP-7A3DNPP\\SQLEXPRESS;Initial Catalog=user;Integrated Security=SSPI");
        return con;

    }
}